var mytab = (function() {
	function addclass(eq, cla) {
		var clalist = cla.split(" ");
		for(var i in clalist) {
			var reg = new RegExp("\\b" + clalist[i] + "\\b").test(eq.className);
			if(!reg) {
				eq.className += (eq.className == "" ? "" : " ") + clalist[i];
			}
		}
	}

	function jianclass(eq, cla) {
		var clalist = cla.split(" ");
		for(var i in clalist) {
			eq.className = eq.className.replace(new RegExp("\\b" + clalist[i] + "\\b"), "").trimLeft();
		}
	}
	return {
		addclass: function(eq, cla) {
			addclass(eq, cla);
		},
		jianclass: function(eq, cla) {
			jianclass(eq, cla);
		}
	}
})()